home *** CD-ROM | disk | FTP | other *** search
- # Internet Express USA Trumpet Winsock Login.cmd
- #
- #First we initialize the modem.
- output atz\13
- input 10 OK\n
-
- #Then we dial the number.
- #Change the number to the one you dial into.
- output atdt5205000\13
- input 45 CONNECT
-
- #Once we're connected, we wait for the prompt for our
- #login name.
- input 30 Username:
-
- #You can configure the script to enter your name
- #automatically by removing the line that starts
- #with "username" and changing the next line to
- #read "output <yourid>\13"
- username Enter your username
- output \u\13
-
- #Next we wait for the password prompt.
- input 30 Password:
-
- #You can have the script put in your password
- #automatically by following the steps above.
- #For security reasons, we don't recommend this.
- password Enter your password
- output \p\13
-
- #Now we wait for the continue prompt and then
- #send "slip"
- input 30 continue
- output slip\13
-
- #This line will get your ip address from our
- #server. Disable this if you have entered it
- #in the setup.
- bootp